]> dgit.raspbian.org Git - gnome-shell.git/commit
ScreenShield: account for motion velocity when hiding the lock screen
authorGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 31 Aug 2012 14:36:40 +0000 (16:36 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 6 Nov 2012 22:04:15 +0000 (23:04 +0100)
commit797b1ff8bb2cac403d3dbea14ce0e3c172541c8a
tree0ac5bc59f413703bb60752d4bbb068a3857a7a31
parent09b738045c52089d7ef010dc2550e44d805e77ed
ScreenShield: account for motion velocity when hiding the lock screen

Switch from a ClutterDragAction to a ClutterGestureAction, that gives
us the velocity of mouse motion at each step, and use it to compute the
animation time for completing the hide gesture.

https://bugzilla.gnome.org/show_bug.cgi?id=682537
js/ui/screenShield.js